package Chapter04;

public class BreakWithTag {
	public static void main(String[] args) {
		int i = 0;
		
		first: while (i < 6) {
			          ++i;
			System.out.println(i);

			second: for (int j = 1; j <= i; j++) {
				System.out.println("  " + i + "*" + j + "=" + i * j);

				if (j == 2)
					break second;
				if (i >= 4)
					continue first;
			}
		}
	}
}